READ ME FILE FOR STEIGERWALD, VAZQUEZ-BARE, MAIER 2020


The purpose of this file is to make the replication of the application portion of our project as simple as possible.

First, you must download the following files and place them in a working directory (WD) of your choosing:

SVM_final.do
weights_fromR_final.csv

The replication and additional tests rely on data from the Davis
and Wolfram 2012 replication file. 

The Davis and Wolfram paper and replication file can be found here:

https://www.aeaweb.org/articles?id=10.1257/app.4.4.194


1. Please download the Data Set from the link above. 

2. Open the Davis and Wolfram replication file and navigate to their main-results folder:

3. Copy the contents of the main-results folder into the WD. You should copy three files:

mainanalysis.do
nuclearpanel_091311.dta
wholesaleavg.dta

4. Once these files are in the WD, execute the mainanalysis.do file. 

Note: this requires you change the working directory path on line 6 of mainanalysis.do to the WD location

5. Now you can execute the SVM_final.do file

Notes: 

A. this requires you change the working directory path on line 27 to the WD location. 


B. several packages are required to execute
the following analysis:

twowayfeweights
clusteff
boottest


C. All figures are set to be saved into the subfolder 'figures/', which must be created in your WD

